package com.wisely.highlight_spring4.ch1.di;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MyApplicationContext extends ClassPathXmlApplicationContext
{
	public MyApplicationContext(String... configLocations){
		super(configLocations);
	}
	
	@Override
	protected void initPropertySources()
	{
		getEnvironment().setRequiredProperties("MAVEN");
//		getEnvironment().setRequiredProperties("MAVEN_HOME");
	}
}
